package com.ruoyi.bole.integral.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组织关系对象 bole_integral_organization
 * 
 * @author wujiale
 * @date 2025-07-04
 */

public class BoleIntegralOrganization extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 组织ID */
    private Long orgId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 父组织ID */
    @Excel(name = "父组织ID")
    private Long parentId;

    /** 组织层级(1-团长,2-组长,3-组员) */
    @Excel(name = "组织层级(1-团长,2-组长,3-组员)")
    private Long level;

    /** 可分配积分 */
    @Excel(name = "可分配积分")
    private Long points;

    /** 分配所得(查看自己被分配到多少积分) */
    @Excel(name = "分配所得(查看自己被分配到多少积分)")
    private Long allocatedIntegral;

    /** 状态(0正常,1停用) */
    @Excel(name = "状态(0正常,1停用)")
    private String status;

    /** 关联的系统用户ID */
    @Excel(name = "关联的系统用户ID")
    private Long userId;

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setPoints(Long points) 
    {
        this.points = points;
    }

    public Long getPoints() 
    {
        return points;
    }
    public void setAllocatedIntegral(Long allocatedIntegral) 
    {
        this.allocatedIntegral = allocatedIntegral;
    }

    public Long getAllocatedIntegral() 
    {
        return allocatedIntegral;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgId", getOrgId())
            .append("orgName", getOrgName())
            .append("parentId", getParentId())
            .append("level", getLevel())
            .append("points", getPoints())
            .append("allocatedIntegral", getAllocatedIntegral())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .toString();
    }
}
